// Dom7
var $$ = Dom7;

// Framework7 App main instance
var app = new Framework7({
	root: '#app', // App root element
	id: 'io.yachtar.app', // App bundle ID
  	name: 'Yachtar', // App name
	theme: 'auto', // Automatic theme detection
	dialog: {
		// set default title for all dialog shortcuts
		title: '提示',
		// change default "OK" button text
		buttonOk: '确认',
	  }
});

// Init/Create main view
var mainView = app.views.create('.view-main', {
	url: '/'
});

//登陆
$$('#startbtn').on('click', function () {
	window.location.href = "plugin/vote/votechoose.html";
	//window.location.href = "plugin/vote/startvote.html";
});

